<template>
    <div>
        <!-- 面包屑导航区域 -->
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>{{ one }}</el-breadcrumb-item>
            <el-breadcrumb-item>{{ two }}</el-breadcrumb-item>
        </el-breadcrumb>
        <!-- 卡片视图区域 -->
        <el-card>
            <slot></slot>
        </el-card>
    </div>
</template>

<script>
export default {
  props: {
    one: {
      type: String,
      default: "一级菜单"
    },
    two: {
      type: String,
      default: "二级菜单"
    }
  }
};
</script>

<style scoped>
</style>